<template>
    <div>
        <iframe frameborder="0" style="height:80vh;width:100%;border: 0;" :src="officeOnlineUrl" type="application/pdf"/>
    </div>
</template>

<script>
export default {
    components: {  },
    data() {
        return {
            fileUrl: 'https://xlmp.oss.qly.plus/lessee1/2.教材简介.doc',
            officeOnlineUrl: ''
        }
    },
    created(){
        this.officeOnlineUrl = `https://view.officeapps.live.com/op/embed.aspx?src=${encodeURIComponent(this.fileUrl)}`;
    },
    methods: {
    
    }
}
</script>

<style lang="scss" scoped>

</style>
